package proxyModel;

public class GamePlayerProxy implements GameePlayer{

    private GameePlayer gameePlayer;

    public GamePlayerProxy(GameePlayer gameePlayer){
        this.gameePlayer=gameePlayer;
    }
    public void Login(String user, String passworld) {
        this.gameePlayer.Login(user,passworld);
    }

    public void killBoss() {
        this.gameePlayer.killBoss();
    }

    public void upgrade() {
        this.gameePlayer.upgrade();
        System.out.println("升级完成收费5元");
    }
}
